package org.jetbrains.plugins.scala.extensions

import com.intellij.psi.PsiElement
import com.intellij.psi.tree.IElementType

object ElementType {
  def unapply(e: PsiElement): Some[IElementType] = Some(e.getNode.getElementType)
}